﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using enqueteJwVd.DAL;

namespace enqueteJwVd.Services
{
    public class SurveyQuestionGroupService : ISurveyQuestionGroupService
    {
        private UnitOfWork unitOfWork;

        public SurveyQuestionGroupService()
        {
            unitOfWork = new UnitOfWork();
        }

        #region ISurveyQuestionGroup Members
        public List<SurveyQuestionGroup> GetAllSurveyQuestionGroups()
        {
            return unitOfWork.SurveyQuestionGroupRepository.GetAll().ToList<SurveyQuestionGroup>();
        }
        #endregion

    }
}